﻿using CommunityToolkit.Mvvm.Input;
using CommunityToolkit.Mvvm.Messaging;
using Database.ERPNext;
using Main.Configs;

using Main.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.PortableExecutable;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Main.Views
{
    /// <summary>
    /// VoucherPrintView.xaml 的交互逻辑
    /// </summary>
    public partial class VoucherPrintView : UserControl
    {
        public VoucherPrintView()
        {
            
            this.DataContext=new VoucherPrintViewModel();
            InitializeComponent();

            gl_entry_filter_listview.SetViewModel(GloabalViewModel.GLEntry_FilterListViewModel!);
            gl_entry_data_listview.SetViewModelAndGenFileds(GloabalViewModel.GLEntry_DataListViewModel!);

            
            
        }

        


        
    }
}
